#include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;

void test0(){
    string str1("hello");
    string str2("hello,world!!!!!");

    string str3(str1);
    string str4(str2);

    printf("%p\n",&str2[0]);
    printf("%p\n",&str4[0]);

    cout << str1.size() << endl;
    cout << str1.capacity() << endl;
    cout << str2.size() << endl;
    cout << str2.capacity() << endl;
}

int main(void){
    test0();
    return 0;
}
